Skip to content

Mark the files found during node_modules search correctly when reusing program structure completely#19435

Merged
sheetalkamat merged 2 commits intomasterfrom
foundWhileSearchingNodeModules
Oct 24, 2017
Merged

Mark the files found during node_modules search correctly when reusing program structure completely#19435
sheetalkamat merged 2 commits intomasterfrom
foundWhileSearchingNodeModules

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

@sheetalkamat sheetalkamat commented Oct 24, 2017

Without this fix the source files reused from node_modules folder that weren't part of program output structure were used as normal files in new program resulting in incorrect errors and incorrect program output structure
Fixes #19327
I also think this might be fix for #19280, #19290

… existing program structure

This marks files reused correctly as from external library resulting in not using them for files to be emitted and computed for output structure
Fixes #19327
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Oct 24, 2017

Please port this to release-2.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsc --watch is inconsistently reporting node_modules files as being outside rootDir

2 participants